﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SendLeaveInfo.aspx.cs" Inherits="Users_SendLeaveInfo" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<%@ Register assembly="DotNetTextBox" namespace="DotNetTextBox" tagprefix="DNTB" %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>留言</title>
    <asp:PlaceHolder Visible="false" runat="server">
         <script src="../Script/jquery-1.3.2-vsdoc2.js" type="text/javascript"></script>
    </asp:PlaceHolder>
    <%=this.UI_Head(Base_CurrPath, "", "")%>
    <link rel="stylesheet" type="text/css" href="../Css/Users.css" />
    <link href="../Script/formValidator/style/validator.css" rel="stylesheet" type="text/css" />
    <script src="../Script/formValidator/jquery_last.js" type="text/javascript"></script>
    <script src="../Script/formValidator/formValidator.js" type="text/javascript"></script>
    <script src="../Script/formValidator/formValidatorRegex.js" type="text/javascript"></script>
    <script language="javascript" src="../Script/formValidator/DateTimeMask.js" type="text/javascript"></script>
    <script src="../Script/ConvertTime.js" type="text/javascript"></script> 
    <script src="../Script/province.aspx"></script>
    <link rel="stylesheet" type="text/css" href="../Css/Users.css" />
    <link href="../Script/formValidator/style/validator.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
        $(document).ready(function() {
        $.formValidator.initConfig({ alertmessage: false, formid: "netmu_Form", onerror: function(msg) { alert(msg) } });
        $("#txtName").formValidator({  tipid: "txtTipName", onshow: "请输入留言人", onfocus: "留言人不能为空", oncorrect: "输入正确" }).inputValidator({ min: 1, max: 20, empty: { leftempty: false, rightempty: false, emptyerror: "留言人两边不能有空符号" }, onerror: "留言人长度必须在1-20位,请确认" });
        $("#txtTopic").formValidator({  tipid: "txtTipTopic", onshow: "请输入主题", onfocus: "主题不能为空", oncorrect: "输入正确" }).inputValidator({ min: 1, max: 50, empty: { leftempty: false, rightempty: false, emptyerror: "主题两边不能有空符号" }, onerror: "主题长度必须在1-50位,请确认" });
        $("#txtEmail").formValidator({ tipid: "txtTipEmail", onshow: "请输入Email", onfocus: "Email不能为空", oncorrect: "输入正确" }).inputValidator({ min: 1, max: 25, empty: { leftempty: false, rightempty: false, emptyerror: "Email不能有空符号" }, onerror: "Email必须在1-25位,请确认" });
        $("#txtPic").formValidator({empty: true, tipid: "txtTipPic", onshow: "请输入链接图片地址", onfocus: "链接图片地址为可选项", oncorrect: "输入正确" }).inputValidator({ min: 1, max: 30, empty: { leftempty: false, rightempty: false, emptyerror: "链接图片地址两边不能有空符号" }, onerror: "链接图片地址必须在1-25位,请确认" });
        $("#txtContent").formValidator({ tipid: "txtTipContent", onshow: "请输入内容", onfocus: "内容不能为空", oncorrect: "输入正确" }).inputValidator({ empty: { leftempty: false, rightempty: false, emptyerror: "内容两边不能有空符号" }, onerror: "内容不能为空,请确认" });
        });
    </script>
</head>
<body>
  <%=this.UI_TopControl()%>
     <div class="topbanner bodyList">
        <div class="body_995" style=" background:#FFFFFF;">
<form id="netmu_Form" runat="server">
<div style="overflow:hidden; height:50px;">
    <img src="<%=topPhotoPath %>"/>
</div>
<div>
    <div  style="width:245px; float:left;"> <img src="../Images/historyphotoleft.jpg" /></div>
    <div style="width:657px; float:left;padding:3px;">

    <table width="100%" style="float:left" align="left" cellspacing="0" cellpadding="0" bordercolordark="#FFFFFF" border="1">
            <tr>
                <td colspan="2" align="center" height="30px" style="padding:4px;width:13%;font-size:larger;font-weight:bold;" >
                    留言
                </td>
            </tr>
            <tr>
                <td align="left" height="30px" style="padding:4px;width:13%;" >
                    <strong>留言人:</strong>
                </td>
                <td  align="left" height="30px" style="padding:4px;" >
                    <asp:TextBox ID="txtName" runat="server" Width="123px" /><span id="txtTipName" style="height:30px;padding-bottom:5px;"></span>
                </td>
            </tr>
            <tr >
                <td align="left" height="30px" style="padding:4px;width:13%;" >
                    <strong>主题:</strong>
                </td>
                <td  align="left" height="30px" style="padding:4px;"  >
                    <asp:TextBox ID="txtTopic" runat="server" Width="215px" /><span id="txtTipTopic" style="height:30px;padding-bottom:5px;"></span>
                </td>
            </tr>
            <tr>
                <td align="left" height="30px" style="padding:4px;width:13%;" >
                    <strong>Email:</strong>
                </td>
                <td  align="left" height="30px" style="padding:4px;" >
                    <asp:TextBox ID="txtEmail" runat="server" Width="214px" /><span id="txtTipEmail" style="height:30px;padding-bottom:5px;"></span>
                </td>
            </tr>
            <tr>
                <td align="left" height="30px" style="padding:4px;width:13%;" >
                    <strong>留言内容:</strong>
                </td>
                <td  align="left" height="30px" style="padding:4px;" >
                    <asp:TextBox ID="txtContent" runat="server" TextMode="MultiLine" Height="82px" 
                        Width="294px" /><span id="txtTipContent" style="height:30px;padding-bottom:5px;"></span>
                </td>
            </tr>
            <tr>
                <td align="left" height="30px" style="padding:4px;width:13%;" >
                    <strong>链接图片:</strong>
                </td>
                <td  align="left" height="30px" style="padding:4px;" >
                    <asp:TextBox ID="txtPic" runat="server" Width="252px" /> <span id="txtTipPic" style="height:30px;padding-bottom:5px;"></span>
                </td>
            </tr>
            <tr>
                <td colspan="2" align="center" height="30px" valign="bottom">
                        <asp:Button ID="btnSumbit" runat="server" Text="提交" onclick="btnSumbit_Click" style="height: 26px; width: 40px" />
                </td>
            </tr>
    </table> 
    </div>
</div>
</form>     
            </div>   
</div>


</body>
</html>
